// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.mapper;

import com.liuxinlong.modules.entity.InvestmentOtherExpenses;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 固资测算产品信息mapper
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2024年09月25日
 */
public interface AssetsInvestmentOtherExpensesMapper extends BaseMapper<InvestmentOtherExpenses> {
    /**
     * 查询固资测算信息列表
     *
     * @param queryParam 查询参数
     * @return 固资测算信息列表
     */
    List<InvestmentOtherExpenses> pageInvestmentOtherExpensesInfo(@Param("queryParam") Map<String, Object> queryParam);

    /**
     * 获取固资测算信息数量
     *
     * @param queryParam 查询参数
     * @return 固资测算信息数量
     */
    int getInvestmentOtherExpensesInfoCount(@Param("queryParam") Map<String, Object> queryParam);

    /**
     * 通过在线测算id删除其他一次性支出信息
     *
     * @param investmentId 测算id
     */
    void deleteByInvestmentId(@Param("investmentId")String investmentId);
}
